package com.cli.spring_session_demo.common;

/**
 * @Author xiongmin
 * @Description //TODO
 * @Date 2020/3/25 14:51
 * @Version 1.0
 **/
public class ReturnData {
    private StatusCode statusCode;
    private Object data;
    private String message;

    public ReturnData() {
    }

    public ReturnData(StatusCode statusCode, Object data, String message) {
        this.statusCode = statusCode;
        this.data = data;
        this.message = message;
    }

    public StatusCode getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(StatusCode statusCode) {
        this.statusCode = statusCode;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
